package com.yic.module.wms.controller.admin.receiveapply.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yic.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.yic.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 领料申请单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ReceiveApplyPageReqVO extends PageParam {

    @Schema(description = "申请单号")
    private String code;

    @Schema(description = "工厂", example = "25998")
    private Long factoryId;

    @Schema(description = "生产车间", example = "3128")
    private Long workshopId;

    @Schema(description = "工作中心", example = "24655")
    private Long centerId;

    @Schema(description = "生产工单", example = "22697")
    private Long moId;

    @Schema(description = "产品信息", example = "4790")
    private Long itemId;

    @Schema(description = "仓库", example = "15402")
    private Long warehouseId;

    @Schema(description = "库区", example = "20199")
    private Long areaId;

    @Schema(description = "库位", example = "32446")
    private Long locationId;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "批次号")
    private String batchNo;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
